package com.irisi.clinicaccess;


import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.Button;
import android.widget.ImageView;

public class MainActivity extends Activity  {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
	final ImageView i=(ImageView) findViewById(R.id.ImageView01);
	final ImageView ii=(ImageView) findViewById(R.id.imageView1);
	
	//redirection vers medecin
	i.setOnClickListener(
			
			new Button.OnClickListener(){

				@Override
				public void onClick(View arg0) {
				
					Intent In=new Intent(getApplication(),Medecin.class);
					startActivity(In);
					
				}	
			});
	
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

	
	

	

}
